package cn.xlbweb.sso.server;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author: bobi
 * @date: 2018/7/16 14:52
 * @description:
 */
@Getter
@AllArgsConstructor
public enum ResponseCode {

    SUCCESS(1000, "操作成功"),

    ERROR(1001, "操作失败"),

    ILLEGAL_ARGUMENT(1002, "参数错误"),

    UN_AUTH(1003, "登录失效");

    private final int code;
    private final String msg;
}
